<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>西安曲江城墙2010新春灯会</title>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
<script type="text/javascript" src="js/jquery.move.js"></script>
<link type="text/css" rel="stylesheet" href="js/thickbox.css"/>

<style type="text/css">
<!--
body {
	background-image: url(images/index_bg.jpg);
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE18 {
	color: #FF0000;
	font-weight: bold;
}
.STYLE19 {
	color: #990000
}
.deng {
	width:200px;
	height:152px;
	background-image:url(images/light.gif);
	text-align:center;
	position:absolute;
	z-index:1
}
.deng .dbutton {
	margin-top:30px;
}
.deng .duser {
	margin-top:10px;
}
.deng .dmessage {
	width:168px;
	height:31px;
	overflow:hidden;
	margin:0px auto;
	margin-top:10px;
}
-->
</style>
<script type="text/javascript" >
jQuery(document).ready(
	function () {
		jQuery(".deng").mouseover(function (){jQuery(this).jquerymove()});
	}
);
function closePray(id){
	$("#\\#lcontent").find("#pray"+id).remove();
}
function searchPray(){

	var id = $("#prayid").val();

	$("#showpray").attr("href","lovewall.php?type=small&job=view&id="+id+"&keepThis=true&TB_iframe=true&height=400&width=882");
	$("#showpray").attr("title","第"+id+"个祝福");
	$("#showpray").click();
	return false;
}

<?php if($_GET['job']=='view'){
?>
	$(function(){
		$("#prayid").val('<?php echo $_GET[id];?>');
		searchPray();
	});
<?php
}
?>
</script>


</head>
<body onselectstart="return false" onselect="document.selection.empty()">
<div id="#lmain" style="width:960px; margin:0px auto; padding:0px 3px;">
  <div id="#ltop"><img src="../images/zhufu_01.jpg" border="0" usemap="#Map"/></div>
  <div style="clear:both;margin:0px;"></div>
  <div id="#header">
  <div style="width:299px;height:212px;float:left;background:url(images/zhufu_02.jpg);margin:0px;"><br/><br/><br/><br/><br/><br/>
  <form action="" method="post" onsubmit="return searchPray();">
   &nbsp;&nbsp;&nbsp;&nbsp;<input name="prayid" type="text" class="STYLE2" id="prayid" value="祝福编号搜索" onclick="this.value=''" size="20" maxlength="8"/>
   <input type="submit" name="button" id="button" value="搜索"/>
   </form>
   <a href="#" id="showpray" class="thickbox" ></a>
  </div>
  <div style="float:left;margin:0px;padding:0px;background:url(images/zhufu_03.jpg);height:212px;width:462px">
  </div>
  <div style="float:left;margin:0px;padding:0px;height:212px;background:url(images/zhufu_04.jpg);width:199px;padding:0px;cursor:pointer" onclick="window.location.href='lovewall.php?job=add'">
  </div>
  </div>
  <div style="clear:both;margin:0px;"></div>
  <div id="#lcontent" style="background-image:url(images/zhufu_05.jpg); height:656px; position:relative">
    <?php foreach($prays as $key=>$array){?>
    <!--灯笼开始-->
    <div class="deng" style="left: <?php echo $array[left];?>;top:<?php echo $array[top];?>;" id="pray<?php echo $array['id'];?>">
      <div class="dbutton"><a href="lovewall.php?type=small&job=view&id=<?php echo $array['id'];?>&keepThis=true&TB_iframe=true&height=400&width=882" class="thickbox link1" title="编号:<?php echo $array['id']?>"><img src="images/img_point_2.gif" border="0" /></a><a href="javascript:closePray('<?php echo $array['id'];?>');"><img src="images/img_point_1.gif"  style="padding-left:10px;" border="0"/></a></div>
      <div class="duser"><a class="thickbox link1" title="编号:<?php echo $array['id']?>" target="_blank" href="lovewall.php?type=small&job=view&id=<?php echo $array['id'];?>&keepThis=true&TB_iframe=true&height=400&width=882">编号:<?php echo $array['id'];?>&nbsp;&nbsp;To：<?php echo $array['receiveuser'];?></a></div>
      <div class="dmessage"><a class="thickbox link4" target="_blank"  title="编号:<?php echo $array['id']?>" href="lovewall.php?type=small&job=view&id=<?php echo $array['id'];?>&keepThis=true&TB_iframe=true&height=400&width=882"><?php echo $array['content'];?></a></div>
    </div>
    <!--灯笼结束-->
    <?php }?>

	<?php if(!empty($pages)){
 ?>
  <div style="top:624px;left:20px;position:absolute;width:100%;text-align:center;"><span class="page" style="text-align:right;width:98%"><?php echo $pages;?></span></div>
 <?php
	}
 ?>
  </div>

        <table width="960" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="3"></td>
        </tr>
      </table>
        <table width="960" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="images/index_middle.jpg">&nbsp;</td>
        </tr>
      </table>
  <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="25" align="center" background="images/index_middle.jpg" class="STYLE8">西安城墙景区管理委员会 版权所有   备案序号:陕ICP备07010637号 　
            地址：陕西省西安市大南门月城内 邮编：710001　电话：029-87289791</td>
        </tr>
        <tr>
          <td height="25" align="center" background="images/index_middle.jpg"><a href="http://i.mido.com.cn/" target="_blank" class="link4">技术支持：麦道品牌传播－互动未来</a></td>
        </tr>
      </table>
</div>


<?php include template("footer1"); ?>